﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Delegate
{
    public partial class request : UserControl
    {
        static string global;
        public request()
        {
            InitializeComponent();
            this.Name = "request";
            this.Enabled = false;
            this.Visible = false;
        }
        public void set(string a)
        {
            //global = a;
            this.textBox1.Text = a;          
        }
        public void set2()
        {
            this.textBox1.Text = global;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            set2();
        }
    }
}
